package com.blog.personalblog.service;

import com.blog.personalblog.entity.User;
import io.swagger.models.auth.In;

import java.util.List;

public interface UserService {
    List<User> findAll();

    void createUser(User user);

    void updateUser(User user);

    void deleteUser(int id);

    User findByUserId(Integer userId);

    User getUserByUserName(String userName);

    void updateLoginTime(Integer userId);
}
